* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/* 禁用滑动报错使用全局样式样式去掉*/
}

*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-family: "Microsoft YaHei";
	/*清除移动端点击色块*/
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 
|  px  |     rem        |
-------------------------
|  12  | 12/10 = 1.2    |
|  14  | 14/10 = 1.4    |
|  16  | 16/10 = 1.6    |
|  18  | 18/10 = 1.8    |
|  20  | 20/10 = 2.0    |
|  24  | 24/10 = 2.4    |
|  30  | 30/10 = 3.0    |
|  36  | 36/10 = 3.6    |
|  42  | 42/10 = 4.2    |
|  48  | 48/10 = 4.8    |
-------------------------    
 */

img {
	border: 0;
	vertical-align: middle;
}

button,
input {
	outline: none;
	border: none;
}

h1,
h2,
h3,
h4,
p {
	font-weight: normal;
	margin: 0;
}

a {
	color: #333;
	text-decoration: none;
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	/*去掉手机点击显示块状*/
}

a:hover,
a:focus {
	color: #333;
	text-decoration: none;
}

ul,
ol,
li,
dl,
dd,
dt {
	margin: 0;
	padding: 0;
	list-style: none;
}

/*iphone*/

textarea,
input[type="button"],
input[type="submit"],
input[type="reset"] {
	-webkit-appearance: none;
}


/* 重置表单控件垂直居中*/

input,
select,
textarea,
button {
	vertical-align: middle;
	padding: 0;
	outline: none;
}

/*文字标签设置*/

em,
i {
	font-weight: normal;
	font-family: arial;
}


/*浮动*/

.fl {
	float: left;
}

.fr {
	float: right;
}


/*清除浮动*/

.clearfix:after {
	display: block;
	content: "";
	clear: both;
	overflow: hidden;
}

.clearfix {
	/* 触发 hasLayout */
	zoom: 1;
}

/* 字体图标  */
@font-face {
	font-family: 'iconfont';
	src: url('../iconfont/iconfont.eot');
	src: url('../iconfont/iconfont.eot?#iefix') format('embedded-opentype'),
		url('../iconfont/iconfont.woff') format('woff'),
		url('../iconfont/iconfont.ttf') format('truetype'),
		url('../iconfont/iconfont.svg#iconfont') format('svg');
}

.iconfont {
	font-family: "iconfont" !important;
	font-size: 16px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
